@include('header')
@if(!$data)
	@include('empty_data')
@else
<link rel="stylesheet" href="{{asset('css/neighborDetail.css')}}" />
<div class="wrapper">
	<div class="goodsTitle">
		<h1 class="goodsTitle-inner">{{$data->title}}</h1>
		<p class="goodsTime">{{$data->created_at}}</p>
	</div>
	<div class="goodsMain">
		<div class="goods-desc">
			{{$data->description}}
		</div>
		<div class="goodsImg">
			@foreach($data->images as $k=>$v)
				<img src="{{$v}}" width="100%" />
			@endforeach
		</div>
		<div class="sellerInfo">
			<p class="clearfix"><span class="sellerLeft">联系人</span><span class="sellerRight sellerName">{{$data->username}}</span></p>
			<p class="clearfix"><a href="tel:{{$data->mobile}}"><span class="sellerLeft">联系电话</span><span class="sellerRight sellerTel">{{$data->mobile}}</span></a></p>
		</div>
	</div>
</div>
@endif